home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
dev
/
c
/
mkid.readme
< prev
next >
Wrap
Text File
|
1995-10-10
|
7KB
|
138 lines
Short: V1.3, a program identifier database package
Author: Greg McGary, Randell Jesup, Olaf Barthel
Type: dev/c
I got this back in 1987, and have been using it since then. It
is freely redistributable (see the original writer's copyright message).
My modifications and the 2 routines I added are public domain. It also
uses Chuck McManis's cooked IO routines.
To compile under amigados, you must use -Dfseek=unixfseek. This
is because the program assumes fseek will extend the file, which is not
normally true under amigados.
It needs an amigados makefile (badly). Don't forget to include
amiga.c, amiga_getenv.c, and raw.o.
It could use some of the 2.0 routines (like the pattern-matching
in place of unix RE's, and GetVar() in amiga_getenv.c). Under 2.0 you
can use one executable and hardlink the others (it keys off the name it
was run under).
It's pretty stable. Unix-pathing has been replaced with amiga-
pathing (., .., etc). The amiga-specific changes to the main code are
ifdef AMIGA.
Randell Jesup
Just about four years later I found this tool on the
Frozen Fish CD-ROM. Neat! But some feature were missing, such as the
regexp support in the lookup utilities and wildcard file name expansion
in mkid. I also found one or the other bug that needed fixing. For
example, if a lookup tool didn't find the ID database in its current
drawer or some parent drawer, it would cause Enforcer hits and change
the calling Shell's current directory without ever restoring it.
Rebuilding the tools using SAS/C was a good idea, the tools are all
pure now and can be made resident. I also threw in some 2.0 additions,
notably the editor launch procedure and the wildcard expansion stuff.
The scanner now handles .i and .asm files and the lookup tools will
output proper AmigaDOS wildcard patterns rather than plain regexp
patterns.
The distribution preserves Fred's original drawer
structure and adds an SAS/C SMakefile. I removed some of the original
source files which were now obsolete. The binaries in the "bin"
drawer were built for an Amiga running Kickstart 2.04 or higher,
using the ieee math libraries. I haven't tested if they still work on
Kickstart 1.3 and friends, they probably won't.
Olaf Barthel <olsen@sourcery.han.de>, 29 June 1995
More, small additions: the C scanner now handles C++ style
comments ("//") and recognizes files with .cpp/.cxx/.c++/.hpp/.hxx/.h++
extensions. There is no specific C++ support in the scanner, but it never
checked for C specific data structures anyway ;) The assembly language
scanner now handles comment lines introduced by "*" or ";". Some file
name and name suffix comparisons were case sensitive, which does not
make that much sense on the Amiga; the comparisons now ignore the file
name case. Speaking of case, the lookup tools sport an "-i" option to
enable case-insensitive pattern comparisons. I changed the makefile
slightly to take advantage of the fact that all tools share the same
basic set of support files which are now bound together in a linker
library. This reduced the tool size once again. The tools now use
utility.library for inline math routines. This means that they will
definitely no longer run under Kickstart 1.3 and below. For the record,
all changes I made and routines I added are public domain.
Olaf Barthel <olsen@sourcery.han.de>, 23 July 1995
In an attempt to make the raw/cooked I/O routines more
bulletproof I rewrote raw.c. mkid now uses ffp math routines as it
was using floating point arithmetics only to calculate the final
stats it displays after building the database. This made the program
a little smaller without loss of robustness.
Olaf Barthel <olsen@sourcery.han.de>, 17 September 1995
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
3601 1800 50.0% 17-Sep-95 14:52:18 AMIGA_README
27064 16655 38.4% 17-Sep-95 14:50:30 +aid
27064 16655 38.4% 17-Sep-95 14:50:30 +eid
19744 12350 37.4% 17-Sep-95 14:50:34 +fid
27064 16655 38.4% 17-Sep-95 14:50:30 +gid
27064 16655 38.4% 17-Sep-95 14:50:16 +lid
32996 18861 42.8% 17-Sep-95 14:50:28 +mkid
651 392 39.7% 01-Feb-91 13:00:36 +cookedio.txt
4020 1763 56.1% 01-Feb-91 13:00:36 +lid.1
5319 1899 64.2% 29-Jun-95 20:43:54 +lid.man
4644 1977 57.4% 01-Feb-91 13:00:42 +mkid.1
6384 2183 65.8% 29-Jun-95 20:44:04 +mkid.man
4227 1715 59.4% 08-Jul-95 21:46:04 +amiga.c
705 320 54.6% 01-Feb-91 13:04:20 +basename.c
643 348 45.8% 01-Feb-91 13:04:20 +bitcount.c
992 282 71.5% 01-Feb-91 13:04:50 +bitops.c
537 214 60.1% 01-Feb-91 13:04:58 +bitops.h
1614 578 64.1% 01-Feb-91 13:04:54 +bitsvec.c
128 115 10.1% 01-Feb-91 13:04:54 +bool.h
692 366 47.1% 01-Feb-91 13:03:48 +bsearch.c
199 160 19.5% 01-Feb-91 13:04:10 +bzero.c
188 151 19.6% 01-Feb-91 13:02:28 +document.c
1281 425 66.8% 29-Jun-95 20:48:26 +extern.h
2453 1102 55.0% 23-Jul-95 17:07:32 +fid.c
575 367 36.1% 01-Feb-91 13:04:56 +gets0.c
6104 1876 69.2% 12-Jul-95 21:16:48 +getscan.c
418 244 41.6% 01-Feb-91 13:04:42 +getsFF.c
2203 926 57.9% 01-Feb-91 13:04:08 +hash.c
1716 797 53.5% 01-Feb-91 13:04:22 +id.h
1449 680 53.0% 23-Jul-95 17:07:40 +idx.c
1259 614 51.2% 01-Feb-91 13:04:22 +init.c
19230 5767 70.0% 23-Jul-95 17:07:50 +lid.c
3610 1448 59.8% 01-Feb-91 13:04:02 +Makefile.unix
18724 6052 67.6% 23-Jul-95 17:07:58 +mkid.c
60 44 26.6% 01-Feb-91 13:04:40 +numtst.c
2373 724 69.4% 01-Feb-91 13:04:12 +opensrc.c
21 21 0.0% 01-Feb-91 13:02:28 +patchlevel.h
5829 1944 66.6% 08-Jul-95 21:40:36 +paths.c
225 138 38.6% 01-Feb-91 13:03:46 +radix.h
1532 853 44.3% 17-Sep-95 14:39:16 +raw.c
6387 2075 67.5% 08-Jul-95 20:40:30 +scan-asm.c
6845 2215 67.6% 17-Sep-95 14:47:20 +scan-c.c
1170 537 54.1% 17-Sep-95 14:48:58 +SMakefile
1883 682 63.7% 01-Feb-91 13:04:30 +stoi.c
735 348 52.6% 08-Jul-95 21:40:52 +string.h
648 353 45.5% 01-Feb-91 13:04:08 +test.c
1874 644 65.6% 17-Sep-95 14:31:58 +tty.c
630 358 43.1% 29-Jun-95 20:48:16 +uerror.c
830 479 42.2% 01-Feb-91 13:04:46 +wmatch.c
546 335 38.6% 01-Feb-91 13:02:08 todo
16037 6305 60.6% 01-Feb-91 13:01:14 TUTORIAL
-------- ------- ----- --------- --------
302187 150447 50.2% 17-Sep-95 16:22:28 51 files